import static org.junit.Assert.*;

import org.junit.Test;


public class NumberTest {

	@Test
	public void testConvertTo() {
		int a = 10;
		int b = 2;
		String first;
		String second;
		
		first = Number.convertTo(a, b);
		second = Number.convertTo(b, a);
		assertEquals(first, "1010");
		assertNotNull(first);
		assertEquals(first, second);
		assertNotSame(first, second);
		
		assertTrue(a>0);
	}

}
